package com.workManager.service;

import com.github.pagehelper.PageInfo;
import com.workManager.vo.ProjectSalaryTempVo;
import com.workManager.vo.ProjectSalaryVo;
import com.workManager.vo.SalarySpreadVo;
import com.workManager.vo.SalaryVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * Created by worso on 2017/3/21 0021.
 */
public interface SalaryService {
    void uploadExcel(String name , MultipartFile file) throws  Exception;

    PageInfo<SalaryVo> queryDetails(Map<String, Object> queryParam);

    PageInfo<ProjectSalaryVo> countByProjectInMonth(Map<String, Object> map);

    List<ProjectSalaryTempVo> countByProjectInMonthTemp(Map<String,Object> map);

    List<SalarySpreadVo> salarySpreadInMonth(String month, String projectId, String userId);
}
